public class WriteMachine{
	public static void main(String[] args){
		
		int x=15;
		while (x>0){
		
		String[] A01={"He","She","It","They","You"};
		String[] A02={"is","are","was","were"};
		String[] A03={"a"};
		String[] A04={"dog","pig","chicken"};
		
		
		int B01=A01.length;
		int B02=A02.length;
		int B03=A03.length;
		int B04=A04.length;
		
		int C01=(int)(Math.random()*B01);
		int C02=(int)(Math.random()*B02);
		int C03=(int)(Math.random()*B03);
		int C04=(int)(Math.random()*B04);
		
		
		String phrase = A01[C01]+" "+A02[C02]+" "+A03[C03]+" "+A04[C04]+".";
		
		System.out.println(phrase);
		
		x=x-1;
		}
		System.out.println("This is 1984");
		
	}
}
